from django.conf.urls import patterns, url, include

urlpatterns = patterns('apps.accounts.views',
	url(r'^profile/change/$', 'myprofile_change',
        name='my_profile_change'),
	url(r'^profile/$', 'myprofile',
        name='my_profile'),
	url(r'^profile/(?P<id>\d+)|(?P<name>[-\w\d]+)/$', 'userprofile',
        name='userprofile'),
	url(r'^$', 'listprofile',
        name='profiles'),
	url(r'^page/(?P<page>\d+)/$', 'listprofile',
        name='profiles'),
)